/* Used to make sure files are only brought in once */
#ifndef COLLISIONS_H
#define COLLISIONS_H

#include "Scene.h"

class CollisionDetector {
public:
   CollisionDetector(Scene*);
   void check(void);
   bool movingBalls();
protected:
   Scene* scene;
   bool hit(Ball* b1, Ball* b2);
   void manageHit(Ball* b1, Ball* b2);
   void checkWallCollisions(Ball* b);
   void checkPocketCollisions(Ball* b);
   vector<Ball*> balls;
};

#endif

